import http from "./request";

export const roleList = (params: IadminListParams) =>
  http.get("/role/list", { params: params });

export const roleListAll = (): RES<RoleModal> => http.get("/role/listAll");
